package com.liuyi.netty.im.lychat.modular.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.liuyi.rapid.develop.mybatis.plus.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 群组表
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_group")
@ApiModel(value="Group对象", description="群组表")
public class Group extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "群号")
    @TableId(value = "group_no", type = IdType.INPUT)
    private String groupNo;

    @ApiModelProperty(value = "逻辑删除，1未删除，时间戳删除")
    private Long del;

    @ApiModelProperty(value = "群名")
    private String groupName;

    @ApiModelProperty(value = "群头像")
    private String groupHead;

    @ApiModelProperty(value = "群主")
    private String groupManage;

    @ApiModelProperty(value = "群介绍")
    private String groupDesc;


    public static final String GROUP_NO = "group_no";

    public static final String DEL = "del";

    public static final String GROUP_NAME = "group_name";

    public static final String GROUP_HEAD = "group_head";

    public static final String GROUP_MANAGE = "group_manage";

    public static final String GROUP_DESC = "group_desc";

}
